package com.cfkj.common;

/**
 * @Auther: CFli
 * @Date: 2018/8/14 13:53
 * @Description:
 */
public class SystemUtil {

    /*
    * 判断是否为空
    * */
    public static String isNull(String message,String target){
        if(target==null||(target.trim()).length()==0){
            throw new SystemException(message);
        }
        return target;
    }

    public static String $(String message,String target){
        return isNull(message,target);
    }
}
